package com.whl.project.mapper;

import java.util.List;

import com.whl.mybatis.BaseMapper;
import com.whl.project.entity.PermissionEntity;
import com.whl.project.model.PermissionResult;

public interface PermissionMapper extends BaseMapper<PermissionEntity> {
	
	public List<PermissionResult>  findByNoLogin();
	
	public List<PermissionResult>  findByGrant();
	
	public List<String> findByUserId(Long userId);
	
	public List<String> findAllCode();
	
	public List<String> findByRoleId(Long roleId);

	public PermissionEntity findByCode(String code);
	
}
